package com.ruoyi.wx.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author moxiu
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pt_score")
@ApiModel(value="PtScore对象", description="")
public class PtScore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "成绩单id")
    @TableId(value = "score_id", type = IdType.AUTO)
    private Long scoreId;

    @ApiModelProperty(value = "学生id")
    @TableField("stu_id")
    private Long stuId;

    @ApiModelProperty(value = "教师id")
    @TableField("teacher_id")
    private Long teacherId;

    @ApiModelProperty(value = "实验id")
    @TableField("exp_id")
    private Long expId;

    @ApiModelProperty(value = "预习成绩")
    @TableField("preview")
    private Double preview;

    @ApiModelProperty(value = "操作成绩")
    @TableField("operate")
    private Double operate;

    @ApiModelProperty(value = "纪律成绩")
    @TableField("discipline")
    private Double discipline;

    @ApiModelProperty(value = "实验报告成绩")
    @TableField("exp")
    private Double exp;

    @ApiModelProperty(value = "综合成绩")
    @TableField("final_score")
    private Double finalScore;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否启用（1：启用；0：禁用）")
    @TableField("is_enable")
    private Boolean isEnable;

	@ApiModelProperty(value = "观看视频id集合")
	@TableField("video_list")
	private String videoList;


}
